package com.niit.mall.mall.auth.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.core.io.Resource;

import java.time.Duration;

/**
 * Jwt配置属性类：用于配置JWT相关属性
 *
 * @author ChuXuan
 * @date 2025/06/04
 */

@Data
@ConfigurationProperties(prefix = "pardo.jwt")
public class JwtProperties {
	private Resource location;
	private String password;
	private String alias;
	private Duration tokenTTL = Duration.ofMinutes(10);
}
